"use strict";
function uniqueArray(array) {
    return Array.from(new Set(array));
}
const arr1 = [1, 2, 2, 3, 3, 4, 5];
const arr2 = ["a", "a", "b", "b"];
const arr3 = uniqueArray(arr1);
const arr4 = uniqueArray(arr2);
console.log(arr3);
console.log(arr4);
const userResultData = {
    message: "成功",
    code: 200,
    data: {
        id: 1,
        name: "jack",
        tel: "1111",
        address: "北京"
    }
};
const myEvent = {
    target: document.querySelector("button"),
    type: "click"
};
const timeEvent = {
    event: {
        target: document.querySelector("div"),
        type: "click"
    },
    from: new Date(),
    to: new Date()
};
function triggerEvent(event) {
    // todos...
}
triggerEvent({
    target: document.querySelector("span"),
    type: "click"
});
let str = null;
str = "hello";
